package com.zx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * jianshu
 *
 * @author
 * @since 2022-03-29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("jianshu")
public class Jianshu implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 文章编号
   */
  @TableId(type = IdType.AUTO)
  private Long id;

  /**
   * 标题
   */
  private String title;

  /**
   * 作者
   */
  private String author;

  /**
   * 配图
   */
  private String imgUrl;

  /**
   * 简介
   */
  private String introduction;

  /**
   * 详细内容
   */
  private String details;

  /**
   * 阅读量
   */
  private Long readNum;

  /**
   * 点赞数
   */
  private Long likeNum;

  /**
   * 评论数
   */
  private Long remarkNum;

}
